<?php

//Landing page
Router::addRoute('Validation', 'index,validation', array('controller'=>'IndexController', 'method'=>'Validation', 'config' => array('render' => 'validator')));
Router::addRoute('Captcha', 'index,captcha', array('controller'=>'ServerController', 'method'=>'Captcha'));
Router::addRoute('Captcha2', 'index,cap,2', array('controller'=>'ServerController', 'method'=>'Captcha2'));

Router::addRoute('goToRegistryCaptchaCheck', 'index,check,captcha', array('controller'=>'ServerController', 'method'=>'CheckCaptcha'));
Router::addRoute('goToRegistryCaptchaCheck2', 'index,captc,2,a,a,d,d,d,d,d', array('controller'=>'ServerController', 'method'=>'CheckCaptcha2'));

Router::addRoute('Passion', 'passion', array('controller'=>'IndexController', 'method'=>'Passion'));
Router::addRoute('Philosophy', 'philosophy', array('controller'=>'IndexController', 'method'=>'Philosophy'));
Router::addRoute('Services', 'services', array('controller'=>'IndexController', 'method'=>'Services'));

Router::addRoute('AfterApply', 'after-apply', array('controller'=>'IndexController', 'method'=>'AfterApply'));
Router::addRoute('AfterShare', 'after-share', array('controller'=>'IndexController', 'method'=>'AfterShare'));


Router::addRoute('newsletter', 'newsletter', array('controller'=>'NewsletterController', 'method'=>'Index'));

/*
 * index
 */
Router::AddRoute('default', 'index', array('controller'=>'IndexController', 'method'=>'Index'));

//Router::AddRoute('test', "(/test/:atest/:testa/)", array('controller'=>'IndexController', 'method'=>'Index', 'paramMatrix'=>array(''atest'=>'')));
